

module.exports = {
    mode: "development",
    entry: './index',
    devtool: false, // ?
    module: {
        rules: [
            {
                test: /\.css$/,
                use: ['style-loader', 'css-loader']
            },
            {
                test: /\.scss$/,
                use: ['style-loader', 'css-loader', {
                    loader: 'sass-loader',
                    options: {
                        // prefer dart-sass
                        // implementation: require('sass')
                        implementation: require.resolve('sass'),

                    }
                }]
            }
        ]
    }
}
